package cn.yunhe.dao;

import cn.yunhe.entity.Topic;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;
@Repository
public interface TopicMapper {
    /**
     * 分页获取列表
     * @param topic
     * @return
     */
    List<Topic> getLikeTopic(Map<String,Object> topic);

    /**
     * 获取总条数
     */
    Integer getLikeTopicCount(Map<String,Object> topic);
}
